home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5956 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: CHIP RAM speed test results
  5. Date: 22 Mar 1996 14:37:42 +0100
  6. Organization: dis-
  7. Message-ID: <4iuaf6$3rl@serpens.rhein.de>
  8. References: <38232981@kone.fipnet.fi> <4ico8k$2vau@columba.udac.uu.se> <42116651@phoenix.owl.de> <4iogfh$e6i@serpens.rhein.de> <4iss4q$2762@columba.udac.uu.se>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. m93kma@sabik.tdb.uu.se (Kristofer Maad) writes:
  12.  
  13. >Michael van Elst (mlelstv@serpens.rhein.de) wrote:
  14. >: "Frank Wille" <frank@phoenix.owl.de> writes:
  15. >: >So MOVE16 is 50% faster, although the A3640 doesn't support burst
  16. >: >transfers.
  17.  
  18. >: Sure. The MOVE16 instruction bypasses the cache.
  19.  
  20. >Why not simply turn off the data cache during copy, then? Could save
  21. >some cycles.
  22.  
  23. I don't see how some extra operation can save cycles.
  24.  
  25. You can only turn off the data cache completely or by manipulating
  26. the MMU tables on a page basis. Since you do not want to disable the
  27. data cache completely this is some significant overhead.
  28.  
  29. Another problem is that this is multitasking unfriendly. You absolutely
  30. must disable interrupts, otherwise the cache may contain stale data
  31. and you have to flush it. And this is even more costly than manipulating
  32. the MMU tables.
  33.  
  34. You see, the move16 instruction is there for a reason.
  35.  
  36. -- 
  37.                                 Michael van Elst
  38.  
  39. Internet: mlelstv@serpens.rhein.de
  40.                                 "A potential Snark may lurk in every tree."
  41.